package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 租户视图对象 sys_tenant
 *
 * @author lingdeng
 * @date 2021-07-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class SysTenantExportVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    @ExcelProperty("租户ID")
    private Long tenantId;

    /**
     * 租户名称
     */
    @ExcelProperty(value = "租户名称")
    private String tenantName;

    /**
     * 负责人
     */
    @ExcelProperty(value = "负责人")
    private String leaderAccount;

    /**
     * 租户描述
     */
    @ExcelProperty(value = "租户描述")
    private String remark;


    /**
     * 租户状态（0正常 1停用）
     */
    @ExcelProperty(value = "租户状态" , converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    private String status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
